<div id="steps" class="form complex">
<?php
echo form_open('keuangan/laporan/laba_rugi');
?>
	<fieldset class="step" style="width:810px;">
                <legend style="width:810px;">Laporan Laba Rugi</legend>
		<p>	
				<label>Tanggal Mulai</label>
                                <input style="width: 30px;margin-right:5px;" id="element_4_2" name="tgl_mulai" readonly size="2" maxlength="2" value="" type="text">
                                <input style="width:30px;margin-right:5px;" id="element_4_1" name="bln_mulai" readonly size="2" maxlength="2" value="" type="text">
                                <input style="width: 80px;" id="element_4_3" name="thn_mulai" size="4" readonly maxlength="4" value="" type="text">

				<img id="cal_img_4" src="<?=base_url();?>images/form/calendar.gif" alt="Pick a date.">	
			
				<script type="text/javascript">
					Calendar.setup({
					inputField	 : "element_4_3",
					baseField    : "element_4",
					displayArea  : "calendar_4",
					button		 : "cal_img_4",
					ifFormat	 : "%B %e, %Y",
					onSelect	 : selectDate
					});
				
				</script>
		</p>
                <?php echo form_error('thn_mulai'); ?>
		<p>	
				<label>s/d Tanggal</label>
                                <input style="width: 30px;margin-right:5px;" id="element_5_2" name="tgl_selesai" readonly size="2" maxlength="2" value="" type="text">
                                <input style="width:30px;margin-right:5px;" id="element_5_1" name="bln_selesai" readonly size="2" maxlength="2" value="" type="text">
                                <input style="width: 80px;" id="element_5_3" name="thn_selesai" size="4" readonly maxlength="4" value="" type="text">

				<img id="cal_img_5" src="<?=base_url();?>images/form/calendar.gif" alt="Pick a date.">	
			
				<script type="text/javascript">
					Calendar.setup({
					inputField	 : "element_5_3",
					baseField    : "element_5",
					displayArea  : "calendar_5",
					button		 : "cal_img_5",
					ifFormat	 : "%B %e, %Y",
					onSelect	 : selectDate
					});
				
				</script>
		</p>
                <?php echo form_error('thn_selesai'); ?>
		<p>
                <label>Batch</label>
                <select name="id_batch" id="id_batch">
                    <?
                        foreach ($batch as $id_batch=>$nama_batch){
                            echo '<option value="'.$id_batch.'">'.$nama_batch.'</option>';
                        }
                    ?>
                </select>
        </p>

		<p class="submit">
                    <button id="registerButton" type="submit" tabindex="7" onclick="this.form.target='_blank';return true;">Cetak</button>
		</p >

	</fieldset>
<?php
echo form_close();
?>
</div>